﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CC.Utility
{
    /// <summary>
    /// 系统错误码定义
    /// </summary>
    public class ErrorCode
    {
     
        //系统级：        00001至 00200
        #region SystemLevel
            /// <summary>
            /// 系统级错误
            /// </summary>
            public const string SystemLevelError = "E_00001";
        #endregion

        //公共级：        00201 至 00500
        #region CommonLevel

            /// <summary>
            /// 公共级错误
            /// </summary>
            public const string CommonLevelError = "E_00201";


            /// <summary>
            /// 参数不能为空
            /// </summary>
             public const string ParamCannotBeNull = "E_00202";

            

            /// <summary>
            /// 用户输入的应用参数名已经存在
            /// </summary>
            public const string BASAlreadyHaveApplicationName = "E_00203";

            /// <summary>
            /// 用户未登录
            /// </summary>
            public const string UserNotLogin = "E_00204";

            /// <summary>
            /// 编辑页面QueryString参数错误
            /// </summary>
            public const string PageParameterError = "02005";


            /// <summary>
            /// 用户输入的参数名已经存在
            /// </summary>
            public const string BASAlreadyHaveParameterName = "E_00206";

            /// <summary>
            /// 无法根据主键找到记录
            /// </summary>
            public const string CannotFindInfoByID = "E_00207";

        /// <summary>
        /// 没有可供导出的数据
        /// </summary>
        public const string NoDataToBeExport = "E_00208";

        /// <summary>
        /// 导出的数据量太大，请联系IT管理员从其他途径获取当前数据
        /// </summary>
        public const string TooLargeData = "E_00209";
        #endregion

        //系统管理：      00501 至 01000
        #region SysteManagement
            /// <summary>
            /// 系统管理错误
            /// </summary>
            public const string SystemError = "E_00501";
        #endregion

            //系统管理：                     02650 至 02749
            #region SystemManagement

            /// <summary>
            /// 系统管理错误
            /// </summary>
            public const string SystemManagementError = "E_02650";


            /// <summary>
            /// 用户输入的代码值和代码名称已经存在
            /// </summary>
            public const string BASAlreadyHaveCodeNameValue = "E_02651";

            /// <summary>
            /// 用户输入的代码名称已经存在
            /// </summary>
            public const string BASAlreadyHaveCodeName = "E_02652";

            /// <summary>
            /// 用户输入的系统表示符已经存在
            /// </summary>
            public const string BASAlreadyHaveSystemId = "E_02653";

            #endregion
  

	}//end class
}
